package com.zoe.onelink.common.exception;

import com.zoe.onelink.common.enumeration.ExceptionCodeEnum;
import com.zoe.onelink.common.enumeration.UpmsExceptionCodeEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>标题: </p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2018</p>
 * <p>公司: 智业软件</p>
 *
 * @author LinHongKai
 * @date 2022-03-29 17:02
 */
@Getter
@Setter
@Accessors(chain = true)
public class PermissionException extends ApiException{

    public PermissionException(){
        super();
        this.setExceptionCode(UpmsExceptionCodeEnum.UPMS_AUTH_NOT_PERMISSION);
    }
}